package net.xiaohanlin.smartmetric.monitor.jvm;

import net.xiaohanlin.smartmetric.metricname.MetricNameService;

abstract class AbstractJvmMetric {

	protected String getMetricName(Enum<?> e) {
		return MetricNameService.INSTANCE.getMetricName(e);
	}
	
	protected String getMetricName(String name) {
		return MetricNameService.INSTANCE.getMetricName(name);
	}
	
}

